package com.hfy.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hfy.model.dto.user.OpenSessionDto;
import com.hfy.model.po.user.SessionPo;
import result.Result;

/**
 * @ author 韩
 * time: 2024/11/4 9:32
 */

public interface SessionService extends IService<SessionPo> {
    Result open(OpenSessionDto dto);

    Result getSessionList(String account);
    Result getSession(String account, String toAccount);

    Result removeSession(String account, String toAccount);
}
